package com.zhiche.lisa.bms.service.psup;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zhiche.lisa.bms.dao.model.psup.PsupOtherExpensises;
import com.zhiche.lisa.bms.pojo.vo.psup.PsupOtherExpensisesVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 人送其他费用 服务类
 * </p>
 *
 * @author linbao
 * @since 2019-06-18
 */
public interface PsupOtherExpensisesService extends IService<PsupOtherExpensises> {

    /**
     * 分页查询
     *
     * @param page
     * @return
     */
    Page<PsupOtherExpensisesVO> querySdOtherExpensisesPage(Page<PsupOtherExpensises> page);

    /**
     * 条件查询
     *
     * @param condition
     * @return
     */
    List<PsupOtherExpensisesVO> querySdOtherExpensisesByCondition(Map<String, Object> condition);


    /**
     * 批量审核
     *
     * @param idList
     * @return
     */
    List<String> auditBatchOtherExpensisesByIdList(List<Long> idList);

    /**
     * 批量删除
     *
     * @param idList
     * @return
     */
    List<String> deleteBatchOtherExpensisesByIdList(List<Long> idList);

    /**
     * 针对excel的批量新增
     *
     * @param voList
     * @param token
     * @return
     */
    List<String> createBatchOtherExpensises(List<PsupOtherExpensisesVO> voList, String token);
}
